/*
 * IkaText.h
 */

#ifndef IKATEXT_H_
#define IKATEXT_H_

#include "atomic/IkaCore.h"
#include "atomic/IkaString.h"

namespace data {

class IkaText: public atomic::IkaCore {
public:
	IkaText();
	IkaText(atomic::IkaString src);
	IkaText(const data::IkaText &copy);
	virtual ~IkaText();
	void Init();
	void Update();
	void Render(const sf::RenderWindow &App);
	void Delete();
	void SetText(const atomic::IkaString &text);
	int GetCharPosition(char c);
	void SetZoom(float factor);
	data::IkaText& operator=(const IkaText &text);

private:
	atomic::IkaGraphic myGraphic;
	atomic::IkaString myText;
	float myZoomFactor;
};

}

#endif /* IKATEXT_H_ */
